import Layout from '@/pages/public/layout' // 公共部分

const seckill = [{
  path: '/promotion/seckill/',
  component: Layout,
  children: [{
    path: 'list',
    component: () => import('@/pages/market/promotion/seckill/index.vue'),
    meta: {
      title: '秒杀-列表',
      permission: 'market.promotion.seckill.list'
    }
  }, {
    path: 'create',
    component: () => import('@/pages/market/promotion/seckill/create.vue'),
    meta: {
      title: '秒杀-新建',
      permission: 'market.promotion.seckill.create'
    }
  }, {
    path: ':id/edit',
    component: () => import('@/pages/market/promotion/seckill/edit.vue'),
    meta: {
      title: '秒杀-编辑',
      permission: 'market.promotion.seckill.edit'
    }
  }, {
    path: ':id/report',
    component: () => import('@/pages/market/promotion/seckill/report/index.vue'),
    meta: {
      title: '秒杀-报表',
      permission: 'market.promotion.seckill.report'
    }
  }]
}]

export default seckill
